package com.czy.seed.mvc.home.entity;

import com.czy.seed.mvc.base.entity.IPrepare;
import com.czy.seed.mybatis.config.mybatis.annotations.One2Many;

import javax.persistence.Id;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: liuyun
 * Created by liuyun  10:18 2017/12/6.
 */
public class Quotation implements IPrepare {

    @Id

    private long id;
//商品名称
    private  String name;
//报价单位
    private String quoteUnit;
//报价金额
    private BigDecimal quoteSum;
//备注信息
    private String postscript;
//报价时间
    private Date quoteTime;
//关联询价单ID
    private Long quoteOrCompareId;
//关联商家ID
    private Long merchantId;
//限额价格
    private BigDecimal priceCap;
//报价联系人
    private String quoteName;
//报价联系人电话
    private String quoteTel;
//品牌
    private String brand;
    //规格型号
    private String ggxh;
    //技术参数
    private String jscs;
    //数量
    private int num;
    //市场价格
    private BigDecimal commodityMakPrc;
    //优惠率
    private BigDecimal bateOfConcession;
    //单价
    private BigDecimal dj;
    //总价
    private BigDecimal total;
    //报价地点
    private String quoteAdrss;
    //交货时间
    private Date consingmentTime;
    //交货地点
    private String consingmentAdress;
    // 售后承诺
    private String letterOfCommitment;
    //是否展示
    private int ifshow;
    //更新时间
    private Date updatetime;
    //创建时间
    private Date createtime;
    //更新人
    private long updateuserid;
    //创建人
    private long createuserid;
    //报价状态
    private int type;


    public String getQuoteName() {
        return quoteName;
    }

    public void setQuoteName(String quoteName) {
        this.quoteName = quoteName;
    }

    public String getQuoteTel() {
        return quoteTel;
    }

    public void setQuoteTel(String quoteTel) {
        this.quoteTel = quoteTel;
    }

    public BigDecimal getPriceCap() {
        return priceCap;
    }

    public void setPriceCap(BigDecimal priceCap) {
        this.priceCap = priceCap;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getQuoteUnit() {
        return quoteUnit;
    }

    public void setQuoteUnit(String quoteUnit) {
        this.quoteUnit = quoteUnit;
    }

    public BigDecimal getQuoteSum() {
        return quoteSum;
    }

    public void setQuoteSum(BigDecimal quoteSum) {
        this.quoteSum = quoteSum;
    }

    public String getPostscript() {
        return postscript;
    }

    public void setPostscript(String postscript) {
        this.postscript = postscript;
    }

    public Date getQuoteTime() {
        return quoteTime;
    }

    public void setQuoteTime(Date quoteTime) {
        this.quoteTime = quoteTime;
    }

    public Long getQuoteOrCompareId() {
        return quoteOrCompareId;
    }

    public void setQuoteOrCompareId(Long quoteOrCompareId) {
        this.quoteOrCompareId = quoteOrCompareId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getGgxh() {
        return ggxh;
    }

    public void setGgxh(String ggxh) {
        this.ggxh = ggxh;
    }

    public String getJscs() {
        return jscs;
    }

    public void setJscs(String jscs) {
        this.jscs = jscs;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public BigDecimal getCommodityMakPrc() {
        return commodityMakPrc;
    }

    public void setCommodityMakPrc(BigDecimal commodityMakPrc) {
        this.commodityMakPrc = commodityMakPrc;
    }

    public BigDecimal getBateOfConcession() {
        return bateOfConcession;
    }

    public void setBateOfConcession(BigDecimal bateOfConcession) {
        this.bateOfConcession = bateOfConcession;
    }

    public BigDecimal getDj() {
        return dj;
    }

    public void setDj(BigDecimal dj) {
        this.dj = dj;
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public String getQuoteAdrss() {
        return quoteAdrss;
    }

    public void setQuoteAdrss(String quoteAdrss) {
        this.quoteAdrss = quoteAdrss;
    }

    public Date getConsingmentTime() {
        return consingmentTime;
    }

    public void setConsingmentTime(Date consingmentTime) {
        this.consingmentTime = consingmentTime;
    }

    public String getConsingmentAdress() {
        return consingmentAdress;
    }

    public void setConsingmentAdress(String consingmentAdress) {
        this.consingmentAdress = consingmentAdress;
    }

    public String getLetterOfCommitment() {
        return letterOfCommitment;
    }

    public void setLetterOfCommitment(String letterOfCommitment) {
        this.letterOfCommitment = letterOfCommitment;
    }

    public int getIfshow() {
        return ifshow;
    }

    public void setIfshow(int ifshow) {
        this.ifshow = ifshow;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public long getUpdateuserid() {
        return updateuserid;
    }

    public void setUpdateuserid(long updateuserid) {
        this.updateuserid = updateuserid;
    }

    public long getCreateuserid() {
        return createuserid;
    }

    public void setCreateuserid(long createuserid) {
        this.createuserid = createuserid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
